package com.alks.entity.data.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 材料暂收表
 * </p>
 *
 * @author ms
 * @since 2023-11-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("MP_PUR_DIS")
@ApiModel(value="MpPurDis对象", description="材料暂收表")
public class MpPurDis implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "自增ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "公司ID")
    private String companyId;

    @ApiModelProperty(value = "订购时间")
    private LocalDateTime purDate;

    @ApiModelProperty(value = "订购类型")
    private String purType;

    @ApiModelProperty(value = "材料ID")
    private String mtlNo;

    @ApiModelProperty(value = "材料名称")
    private String mtlName;

    @ApiModelProperty(value = "材料颜色")
    private String mtlColor;

    @ApiModelProperty(value = "材料规格")
    private String mtlSpec;

    @ApiModelProperty(value = "材料单位")
    private String mtlUnit;

    @ApiModelProperty(value = "请购量")
    private Float qty;

    @ApiModelProperty(value = "预加量")
    private Float overQty;

    @ApiModelProperty(value = "订购数量")
    private Float purQty;

    @ApiModelProperty(value = "厂商回复交期")
    private LocalDateTime inDate;

    @ApiModelProperty(value = "订购单号")
    private String purNo;

    @ApiModelProperty(value = "发货方式")
    private String sendType;

    @ApiModelProperty(value = "订单备注")
    private String purMemo;

    @ApiModelProperty(value = "厂商ID")
    private String vendorNo;

    private BigDecimal price;

    private BigDecimal amt;

    private String currency;

    private BigDecimal exchangeRate;

    @ApiModelProperty(value = "订购标志")
    private String purFlag;

    @ApiModelProperty(value = "请购单号")
    private String reqNo;

    @ApiModelProperty(value = "请购部门ID")
    private String reqDept;

    @ApiModelProperty(value = "请购部门名称")
    private String reqDeptName;

    @ApiModelProperty(value = "请购日期")
    private LocalDateTime reqDate;

    @ApiModelProperty(value = "需求日期")
    private LocalDateTime reqRta;

    @ApiModelProperty(value = "请购备注")
    private String reqMemo;

    private String status;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime sysDate;

    @ApiModelProperty(value = "创建人")
    private String sysUser;

    private LocalDateTime cfmDate;

    private String cfmUser;

    @ApiModelProperty(value = "厂商名字")
    private String vendorName;

    @ApiModelProperty(value = "指令")
    private String lotDetail;

    @ApiModelProperty(value = "取消数量")
    private Float cancelQty;

    @ApiModelProperty(value = "期望厂商交期   需求交期")
    private LocalDateTime vendorDate;

    @ApiModelProperty(value = "多购数量")
    private Float minusQty;

    @ApiModelProperty(value = "型体")
    private String purStyle;

    @ApiModelProperty(value = "指令")
    private String purLot;

    @ApiModelProperty(value = "客户")
    private String custom;

    @ApiModelProperty(value = "导出日期")
    private LocalDateTime expDate;

    @ApiModelProperty(value = "型体配色")
    private String purColor;

    private String minusFlag;

    private BigDecimal minusQtyNew;

    @ApiModelProperty(value = "打印时间")
    private LocalDateTime prtDate;

    private String remark;

    private BigDecimal qtyCancel;

    private BigDecimal overCancel;

    private String fullFlag;


}
